﻿package src {	import gs.TweenMax;	import flash.display.MovieClip;	import flash.display.Sprite;			public class Pantalla extends Sprite {		public function Pantalla():void {			this.visible = false;			this.alpha = 0;			this.visible = true;			TweenMax.to(this, 0.6, {alpha:1});		}				public function cierra ():void {			TweenMax.to(this, 0.6, {alpha:0, onComplete:borraSeccion});		}				private function borraSeccion ():void {			var elemento = MovieClip(root).contenedor_mc.getChildAt(0);			MovieClip(root).contenedor_mc.removeChild(elemento);		}	}	}